import request from "@/utils/request";

// 用户列表
export async function user(params?: any) {
	return request("/shopAdmin/getUserList", {
		params,
	});
}
// 更改状态
export async function status(data: any) {
	return request("/shopAdmin/add", {
		method: "POST",
		data,
	});
}
// 根据id删除商家管理员
export async function remove(id: any) {
	return request("/shopAdmin/del", {
		method: "POST",
		data: {
			id,
		},
	});
}

export async function classify(params: any) {
	return request("/classify/list-many", {
		method: "GET",
		params,
	});
}

export async function getClassifyListCode(params: any) {
	return request("/game/props/list", {
		method: "GET",
		params,
	});
}
